import request from '@/utils/request'

// 查询公寓附近大学列列表
export function listTbapartuniref(query) {
  return request({
    url: '/apartment/tbapartuniref/list',
    method: 'get',
    params: query
  })
}

// 查询公寓附近大学列详细
export function getTbapartuniref(id) {
  return request({
    url: '/apartment/tbapartuniref/' + id,
    method: 'get'
  })
}

// 新增公寓附近大学列
export function addTbapartuniref(data) {
  return request({
    url: '/apartment/tbapartuniref',
    method: 'post',
    data: data
  })
}

// 修改公寓附近大学列
export function updateTbapartuniref(data) {
  return request({
    url: '/apartment/tbapartuniref',
    method: 'put',
    data: data
  })
}

// 删除公寓附近大学列
export function delTbapartuniref(id) {
  return request({
    url: '/apartment/tbapartuniref/' + id,
    method: 'delete'
  })
}
